package cn.iocoder.yudao.module.pm.controller.app.thawrecords.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "用户 APP - 过程管理-解冻专项台账分页 Request VO")
@Data
public class AppThawRecordsPageReqVO extends PageParam {

    @Schema(description = "分类排序，1.按开始时间倒序;2.按开始时间正序;3.按结束时间倒序;4.按结束时间正序")
    private Integer sort = 1;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime startDateTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime endDateTime;

    @Schema(description = "创建人ID")
    private String creator;

}